var DockerApi = require('./DockerApi.js');
var api = new DockerApi();

api.getContainers()
	.then(function(data) {
		console.log('getContainer response:\n' + data);
		
		var id = api.getContainerId(data);
		console.log("id="+id);
		console.log("logPath="+ api.getLogfile(id));
	})